/*
 * $HeadURL: $
 * $Id: $
 * Copyright (c) 2012 by Wodensoft System, all rights reserved.
 */
package com.wodensoft.util.script;

import java.util.Map;

import com.wodensoft.util.script.ExecutionContext;
 
/**
 * @author Borball
 *
 */
public class BasicExecutionContext implements ExecutionContext{

    private Map<String, Object> variables;
    
    BasicExecutionContext(Map<String, Object> variables){
        this.variables = variables;
    }
    
    /* (non-Javadoc)
     * @see com.wodensoft.util.el.ExecutionContext#getVariableContext()
     */
    @Override
    public Map<String, Object> getVariableContext() {
        return variables;
    }

}
